Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.

Fix for GetFilteredAssets internal server error - #10

Merged
gschneider-r7 merged 1 commit into
rapid7:masterfrom
gschneider-r7:fix_asset_filter
Jul 19, 2017
Merged

gschneider-r7 merged 1 commit into
rapid7:masterfrom
gschneider-r7:fix_asset_filter

Conversation

@gschneider-r7

@gschneider-r7 gschneider-r7 commented Jul 19, 2017 •

Copy link
Copy Markdown
Contributor

Description

Convert asset filter criteria to double-quoted json.

The double-quotes are required for Nexpose to be able to parse the criteria correctly, as of some recent version of Nexpose. Single-quoted json is not considered valid anymore.

Motivation and Context

Resolves #5

How Has This Been Tested?

Followed the steps in #5 and verified the returned results had data.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

The double-quotes are required for Nexpose to be able to parse the
criteria correctly, as of some recent version of Nexpose.

Resolves rapid7#5
@gschneider-r7
gschneider-r7 merged commit 07cfe76 into rapid7:master Jul 19, 2017
@gschneider-r7
gschneider-r7 deleted the fix_asset_filter branch July 19, 2017 18:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetFilteredAssets fails with "HTTP Error 500: Internal Server Error"

1 participant